covariant formalism - определение. Что такое covariant formalism
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое covariant formalism - определение

Covariant return; Covariant type return

Formalism (art)         
STUDY OF ART BY ANALYZING AND COMPARING FORM AND STYLE
Formalism in Art; Formal analysis; Aesthetic formalism; Formalism in art
In art history, formalism is the study of art by analyzing and comparing form and style. Its discussion also includes the way objects are made and their purely visual or material aspects.
Formalism (music)         
MUSIC TERM; CONCEPT THAT A COMPOSITION'S MEANING IS ENTIRELY DETERMINED BY ITS FORM
Formalism in music
In music theory and especially in the branch of study called the aesthetics of music, formalism is the concept that a composition's meaning is entirely determined by its form.
formalism         
WIKIMEDIA DISAMBIGUATION PAGE
Formalist; Formalism (disambiguation); Formalists
Formalism is a style, especially in art, in which great attention is paid to the outward form or appearance rather than to the inner reality or significance of things.
N-UNCOUNT
formalist
...art based on formalist principles.
ADJ: ADJ n

Википедия

Covariant return type

In object-oriented programming, a covariant return type of a method is one that can be replaced by a "narrower" type when the method is overridden in a subclass. A notable language in which this is a fairly common paradigm is C++.

C# supports return type covariance as of version 9.0. Covariant return types have been (partially) allowed in the Java language since the release of JDK5.0, so the following example wouldn't compile on a previous release:

More specifically, covariant (wide to narrower) or contravariant (narrow to wider) return type refers to a situation where the return type of the overriding method is changed to a type related to (but different from) the return type of the original overridden method. The relationship between the two covariant return types is usually one which allows substitution of the one type with the other, following the Liskov substitution principle. This usually implies that the return types of the overriding methods will be subtypes of the return type of the overridden method. The above example specifically illustrates such a case. If substitution is not allowed, the return type is invariant and causes a compile error.

Another example of covariance with the help of built in Object and String class of Java: